﻿using Abp.AutoMapper;
using System.ComponentModel.DataAnnotations;

namespace FutureApp.Shop.Dto
{
    /// <summary>
    /// 创建商品品牌输入参数DTO
    /// </summary>
    [AutoMapTo(typeof(GoodsBrand))]
    public class CreateGoodsBrandInput
    {
        /// <summary>
        /// 商品品牌名
        /// </summary>
        [Required]
        [StringLength(GoodsBrand.MaxNameLength)]
        public string Name { get; set; }
    }
}